﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClassLibrary1;

namespace Bilyteam_Website.Admin
{
    public partial class Site1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Page.Form.Attributes.Add("enctype", "multipart/form-data");
        }

        protected void lbtLogout_Click(object sender, EventArgs e)
        {
            //Application["ses"] = null;
            //Session["Username"] = null;
            //General.StatusUser = 0;
            //if ((Request.Cookies["CookieUser"] != null) || (Request.Cookies["CookieUser"] == null))
            //{
            //    var httpCookie = Response.Cookies["CookieUser"];
            //    if (httpCookie != null)
            //        httpCookie.Expires = DateTime.Now.AddDays(-1);
            //}
            //Response.Redirect("~/Admin/login.aspx");
        }
    }
}